﻿<!DOCTYPE html>
<html>
	<head>
		<link href="jquery-ui-1.10.4.custom.min.css" rel="stylesheet" type="text/css" />
		<link href="derivative_clicker.css" rel="stylesheet" type="text/css" />
		<link href="tooltipster.css" rel="stylesheet" type="text/css" />
		<link href="tooltipster-noir.css" rel="stylesheet" type="text/css" />
		<title>导数点击 - Derivative Clicker</title>
		<meta charset="UTF-8">
		<!-- <script>
			(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
			(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
			m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
			})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
			
			ga('create', 'UA-49821575-1', 'auto');
			ga('send', 'pageview');
		</script> -->
	</head>
<body>
	<div id="container">
		<div id="navbar"><a href="newplayer.html" target="_newtab">新手帮助</a> | <a href="changelog.txt" target="_newtab">更新日志</a> | <a href="http://www.reddit.com/r/derivclicker/" target="_newtab">Subreddit</a> | <a href="https://github.com/gzgreg/DerivativeClicker/tree/gh-pages" target="_newtab">Github</a> | <a id="donateLink">捐赠</a></div> 
		<div id="donate">
			我希望你喜欢这个游戏。 作为一名学生，非常感谢您的捐款！<br />
			<br />
			<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_newtab" style="text-align: center;">
				<input type="hidden" name="cmd" value="_s-xclick">
				<input type="hidden" name="hosted_button_id" value="RMMXB8R5J8GX6">
				<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
				<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
			</form>
			<div><img src="img/bitcoin.png" /><span>&nbsp;187WQhKWeaBsav3phqnPbf1JoqkL3mjfdc</span></div><br />
			<div><img src="img/dogecoin.png" /><span>&nbsp;D91Qq6FWtHF1GPYZ9Q27PKP7oC66Mnbb1G</span></div><br />
			<button class="buttonLit" id="closeDonate">关闭</button>
		</div>
		<h1 id="header">导数点击 - Derivative Clicker</h1>
		<div id="infoContainer">
			<div class="button" id="moneyButton"><h3 id="moneyButtonText">点击赚钱</h3></div>
			<div id="info"></div>
		</div>
		<!--INFO TABLE-->
		<script type="text/template" id="moneyTableTemplate">
		  	<div id="moneyTable">
		  		<table>
					<tr>
						<td>金钱:</td>
						<td>$<%= money %></td>
						<td class="spacer"></td>
						<td class="spacer"></td>
						<td>证明:</td>
						<td><%= proofs %></td>
					</tr>
					<tr>
						<td>金钱/tick:</td>
						<td>$<%= moneyPerSecond %></td>
						<td class="spacer"></td>
						<td class="spacer"></td>
						<td>证明/tick:</td>
						<td><%= proofsPerSecond %></td>
					</tr>
					<tr>
						<td>净资金/tick:</td>
						<td>$<%= netMoneyPerSecond %></td>
						<td class="spacer"></td>
						<td class="spacer"></td>
						<td>成本/证明:</td>
						<td>$5.00</td>
					</tr>
				</table>
			</div>
			<div id="moneyTable2">
				<table>
					<tr>
						<td id="mPC" colspan=5>每次手动点击得到的金钱: $<%= moneyPerClick %></td>
					</tr>
					<tr>
						<td id="mPAC" colspan=5>每次自动点击得到的金钱: $<%= moneyPerAutoclick %></td>
					</tr>
					<tr>
						<td id="tickLenCell" colspan="5">Tick长度: <%= tickLength %> 毫秒 / <%= timeMult %></td>
					</tr>
				</table>
			</div>
		</script>
		<!-- Start Tabs -->
		<div id="tabs">
			<ul>
				<li onclick="updateInventory();"><a href="#inventory">库存</a></li>
				<li onclick="updateUpgrades();"><a href="#upgradesContainer">升级</a></li>
				<li onclick="updatePrestige();"><a href="#prestigeContainer">声望</a></li>
				<li><a href="#options">设置</a></li>
				<li onclick="updateStats();"><a href="#stats">统计</a></li>
			</ul>
			<!-- End Tabs -->
			<!-- Begin Inventory tab -->
			<div id="inventory">
				<div id="tableContainer">
					<div id="firstRows"></div>
					<div id="row5"></div>
					<div id="row6"></div>
					<div id="row7"></div>
				</div>
				<div id="numToBuyContainer"><p>输入你想一次购买的数量(当前 <span id="currentNumToBuy" class="strong"></span>): <input type="number" id="numToBuy"><span class="buttonLit submitNumToBuy" onclick="getNumToBuy($('#numToBuy').val())">提交</span></p>
				<p>或者, <span class="buttonLit submitNumToBuy" onclick="getNumToBuy(-1)">购买最大值</span></p></div>
			</div>
			<script type="text/template" id="inventoryTemplate">
				<table id="inventoryTable">
					<!--------- 
						ROW 1 
					----------->
					<tr id="row1">
						<td id="deriv1" class="button" onmousedown="buyBuilding(0)">
							<h3>一次求导</h3>
							<p><%= deriv1Power %>$/tick: 成本 $<%= deriv1Cost %>.</p> 
							<p>已拥有: <%= deriv1Owned %> (<%= deriv1Manual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="combinatorics" class="button" onmousedown="buyBuilding(1)">
							<h3>组合数学</h3>
							<p><%= combinatoricsPower %> 证明/tick: 成本 $<%= combinatoricsCost %>.</p>
							<p> Owned: <%= combinatoricsOwned %> (<%= combinatoricsManual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="computer" class= "button" onmousedown="buyBuilding(2)">
							<h3>计算机</h3>
							<p><%= computerPower %>$/tick: 成本 <%= computerCost %> 证明。</p>
							<p>已拥有: <%= computerOwned %> (<%= computerManual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="highSchooler" class="button" onmousedown="buyBuilding(3)">
							<h3>高中生</h3>
							<p><%= highSchoolerPower %>$/点击: 成本 $<%= highSchoolerCost %>.</p>
							<p>已拥有: <%= highSchoolerOwned %> (<%= highSchoolerManual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="mathematician" class="button" onmousedown="buyBuilding(4)">
							<h3>数学家</h3>
							<p>Faster ticks: 成本 $<%= mathematicianCost %>.</p>
							<p>已拥有: <%= mathematicianOwned %> (<%= mathematicianManual %>)</p>
						</td>
					</tr>
					<!------------
						ROW 2
					------------->
					<tr>
						<td id="deriv2" class="button" onmousedown="buyBuilding(5)">
							<h3>二次求导</h3>
							<p><%= deriv2Power %> 一阶导数/<%= buildingPeriod %> ticks: 成本 $<%= deriv2Cost %>.</p>
							<p>已拥有: <%= deriv2Owned %> (<%= deriv2Manual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="probability" class="button" onmousedown="buyBuilding(6)">
							<h3>概率学</h3>
							<p><%= probabilityPower %> 组合数学/<%= buildingPeriod %> ticks: 成本 $<%= probabilityCost %></p>
							<p>已拥有: <%= probabilityOwned %> (<%= probabilityManual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="assemblyLine" class= "button" onmousedown="buyBuilding(7)">
							<h3>流水线</h3>
							<p><%= assemblyLinePower %> 计算机/<%= buildingPeriod %> ticks: 成本 <%= assemblyLineCost %> 证明。</p>
							<p>已拥有: <%= assemblyLineOwned %> (<%= assemblyLineManual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="undergraduate" class="button" onmousedown="buyBuilding(8)">
							<h3>本科生</h3>
							<p><%= undergraduatePower %> 高中生/<%= clicksToGain %> 点击: 成本 $<%= undergraduateCost %>.</p>
							<p>已拥有: <%= undergraduateOwned %> (<%= undergraduateManual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="andrewWiles" class="button" onmousedown="buyBuilding(9)">
							<h3>安德鲁·怀尔斯</h3>
							<p><%= andrewWilesPower %> 数学家/<%= buildingPeriod %> ticks: 成本 $<%= andrewWilesCost %>.</p>
							<p>已拥有: <%= andrewWilesOwned %> (<%= andrewWilesManual %>)</p>
						</td>
					</tr>
					<!-----------
						ROW 3
					------------->
					<tr>
						<td id="deriv3" class="button" onmousedown="buyBuilding(10)">
							<h3>三次求导</h3>
							<p><%= deriv3Power %> 二阶导数/<%= buildingPeriod %> ticks: 成本 $<%= deriv3Cost %>.</p>
							<p>已拥有: <%= deriv3Owned %> (<%= deriv3Manual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="numberTheory" class="button" onmousedown="buyBuilding(11)">
							<h3>数论</h3>
							<p><%= numberTheoryPower %> 概率学/<%= buildingPeriod %> ticks: 成本 $<%= numberTheoryCost %></p>
							<p>已拥有: <%= numberTheoryOwned %> (<%= numberTheoryManual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="factory" class= "button" onmousedown="buyBuilding(12)">
							<h3>工厂</h3>
							<p><%= factoryPower %> 流水线/<%= buildingPeriod %> ticks: 成本 <%= factoryCost %> 证明。</p>
							<p>已拥有: <%= factoryOwned %> (<%= factoryManual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="graduateStudent" class="button" onmousedown="buyBuilding(13)">
							<h3>研究生</h3>
							<p><%= graduateStudentPower %> 本科/<%= clicksToGain %> 点击: 成本 $<%= graduateStudentCost %>.</p>
							<p>已拥有: <%= graduateStudentOwned %> (<%= graduateStudentManual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="kurtGodel" class="button" onmousedown="buyBuilding(14)">
							<h3>库尔特哥德尔</h3>
							<p><%= kurtGodelPower %> 怀尔斯/<%= buildingPeriod %> ticks: 成本 $<%= kurtGodelCost %>.</p>
							<p>已拥有: <%= kurtGodelOwned %> (<%= kurtGodelManual %>)</p>
						</td>
					</tr>
				   <!-----------
				   		ROW 4
				   	------------>
				   <tr>
						<td id="deriv4" class="button" onmousedown="buyBuilding(15)">
						   <h3>四次求导</h3>
						   <p><%= deriv4Power %> 三阶导数/<%= buildingPeriod %> ticks: 成本 $<%= deriv4MoneyCost %> and <%= deriv4WidgetCost %> 证明。</p>
						   <p>已拥有: <%= deriv4Owned %> (<%= deriv4Manual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="calculus" class="button" onmousedown="buyBuilding(16)">
							<h3>微积分学</h3>
							<p><%= calculusPower %> 数论/<%= buildingPeriod %> ticks: 成本 $<%= calculusCost %></p>
							<p>已拥有: <%= calculusOwned %> (<%= calculusManual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="factoryArchitect" class= "button" onmousedown="buyBuilding(17)">
							<h3>工厂建筑师</h3>
							<p><%= factoryArchitectPower %> 工厂/<%= buildingPeriod %> ticks: 成本 <%= factoryArchitectCost %> 证明。</p>
							<p>已拥有: <%= factoryArchitectOwned %> (<%= factoryArchitectManual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="postdoc" class="button" onmousedown="buyBuilding(18)">
							<h3>博士后</h3>
							<p><%= postdocPower %> 研究生/<%= clicksToGain %> 点击: 成本 $<%= postdocCost %>.</p>
							<p>已拥有: <%= postdocOwned %> (<%= postdocManual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="georgRiemann" class="button" onmousedown="buyBuilding(19)">
							<h3>波恩哈德·黎曼</h3>
							<p><%= georgRiemannPower %> 哥德尔/<%= buildingPeriod %> ticks: 成本 $<%= georgRiemannCost %>.</p>
							<p>已拥有: <%= georgRiemannOwned %> (<%= georgRiemannManual %>)</p>
						</td>
					</tr>
				</table>
			</script>
			<script type="text/template" id="row5Template">
				<table id="row5Table">
					<!--------- 
						ROW 5 
					----------->
					<tr>
						<td id="deriv5" class="button" onmousedown="buyBuilding(20)">
							<h3>五阶导数</h3>
							<p><%= deriv5Power %> 四阶导数/<%= buildingPeriod %> ticks: 成本 $<%= deriv5MoneyCost %> and <%= deriv5ProofCost %> 证明。</p> 
							<p>已拥有: <%= deriv5Owned %> (<%= deriv5Manual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="algebra" class="button" onmousedown="buyBuilding(21)">
							<h3>代数</h3>
							<p><%= algebraPower %> 微积分/<%= buildingPeriod %> ticks: 成本 $<%= algebraCost %></p>
							<p>已拥有: <%= algebraOwned %> (<%= algebraManual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="designSchool" class="button" onmousedown="buyBuilding(22)">
							<h3>设计学院</h3>
							<p><%= designSchoolPower %> 建筑师/<%= buildingPeriod %> ticks: 成本 <%= designSchoolCost %> 证明。</p>
							<p>已拥有: <%= designSchoolOwned %> (<%= designSchoolManual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="researchScientist" class="button" onmousedown="buyBuilding(23)">
							<h3>研究科学家</h3>
							<p><%= researchScientistPower %> 博士后/<%= clicksToGain %> 点击: 成本 $<%= researchScientistCost %>.</p>
							<p>已拥有: <%= researchScientistOwned %> (<%= researchScientistManual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="carlGauss" class="button" onmousedown="buyBuilding(24)">
							<h3>卡尔高斯</h3>
							<p><%= carlGaussPower %> 黎曼/<%= buildingPeriod %> ticks: 成本 $<%= carlGaussCost %>.</p>
							<p>已拥有: <%= carlGaussOwned %> (<%= carlGaussManual %>)</p>
						</td>
					</tr>
				</table>
			</script>
			<script type="text/template" id="row6Template">
				<table id="row6Table">
					<!--------- 
						ROW 6 
					----------->
					<tr>
						<td id="deriv6" class="button" onmousedown="buyBuilding(25)">
							<h3>六阶导数</h3>
							<p><%= deriv6Power %> 五阶导数/<%= buildingPeriod %> ticks: 成本 $<%= deriv6MoneyCost %> and <%= deriv6ProofCost %> 证明。</p> 
							<p>已拥有: <%= deriv6Owned %> (<%= deriv6Manual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="geometry" class="button" onmousedown="buyBuilding(26)">
							<h3>几何</h3>
							<p><%= geometryPower %> 代数/<%= buildingPeriod %> ticks: 成本 $<%= geometryCost %>.</p>
							<p> Owned: <%= geometryOwned %> (<%= geometryManual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="deanArchitecture" class="button" onmousedown="buyBuilding(27)">
							<h3>建筑学院院长</h3>
							<p><%= deanArchitecturePower %> 学校/<%= buildingPeriod %> ticks: 成本 <%= deanArchitectureCost %> 证明。</p>
							<p>已拥有: <%= deanArchitectureOwned %> (<%= deanArchitectureManual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="labManager" class="button" onmousedown="buyBuilding(28)">
							<h3>实验室管理员</h3>
							<p><%= labManagerPower %> 科学家/<%= clicksToGain %> 点击: 成本 $<%= labManagerCost %>.</p>
							<p>已拥有: <%= labManagerOwned %> (<%= labManagerManual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="leonhardEuler" class="button" onmousedown="buyBuilding(29)">
							<h3>莱昂哈德·欧拉</h3>
							<p><%= leonhardEulerPower %> 高斯/<%= buildingPeriod %> ticks: 成本 $<%= leonhardEulerCost %>.</p>
							<p>已拥有: <%= leonhardEulerOwned %> (<%= leonhardEulerManual %>)</p>
						</td>
					</tr>
				</table>
			</script>
			<script type="text/template" id="row7Template">
				<table id="row7Table">
					<!--------- 
						ROW 6 
					----------->
					<tr>
						<td id="deriv7" class="button" onmousedown="buyBuilding(30)">
							<h3>七阶导数</h3>
							<p><%= deriv7Power %> 六阶导数/<%= buildingPeriod %> ticks: 成本 $<%= deriv7MoneyCost %> and <%= deriv7ProofCost %> 证明。</p> 
							<p>已拥有: <%= deriv7Owned %> (<%= deriv7Manual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="arithmetic" class="button" onmousedown="buyBuilding(31)">
							<h3>算术</h3>
							<p><%= arithmeticPower %> 几何/<%= buildingPeriod %> ticks: 成本 $<%= arithmeticCost %>.</p>
							<p> 已拥有: <%= arithmeticOwned %> (<%= arithmeticManual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="chancellor" class="button" onmousedown="buyBuilding(32)">
							<h3>校长</h3>
							<p><%= chancellorPower %> 院长/<%= buildingPeriod %> ticks: 成本 <%= chancellorCost %> 证明。</p>
							<p>已拥有: <%= chancellorOwned %> (<%= chancellorManual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="researchLab" class="button" onmousedown="buyBuilding(33)">
							<h3>研究实验室</h3>
							<p><%= researchLabPower %> 实验室管理员/<%= clicksToGain %> 点击: 成本 $<%= researchLabCost %>.</p>
							<p>已拥有: <%= researchLabOwned %> (<%= researchLabManual %>)</p>
						</td>
						<td class="spacer"></td>
						<td id="isaacNewton" class="button" onmousedown="buyBuilding(34)">
							<h3>艾萨克·牛顿</h3>
							<p><%= isaacNewtonPower %> 欧拉/<%= buildingPeriod %> ticks: 成本 $<%= isaacNewtonCost %>.</p>
							<p>已拥有: <%= isaacNewtonOwned %> (<%= isaacNewtonManual %>)</p>
						</td>
					</tr>
				</table>
			</script>
			<!-- End Inventory Tab -->
			<!-- Begin Upgrades Tab -->
			<div id="upgradesContainer">
				<div id="upgrades"></div>
				<div id="numToBuyContainer2"><p>输入你想一次购买的数量(当前 <span id="currentNumToBuy2" class="strong"></span>): <input type="number" id="numToBuy2"><span class="buttonLit submitNumToBuy" onclick="getNumToBuy($('#numToBuy2').val())">提交</span></p>
				<p>或者, <span class="buttonLit submitNumToBuy" onclick="getNumToBuy(-1)">购买最大值</span></p></div>
			</div>
			<script id="upgradesTemplate" type="text/template">
				<table id="upgradesTable">
					<tr>
						<td id="tier1Upgrade" class="button" onmousedown="buyTierUpgrade(0)">
							<h3>升级 第一 层</h3>
							<p>成本: $<%= tier1UpgradeCost %>.</p>
							<p>已拥有: <%= tier1UpgradeOwned %></p>
						</td>
						<td class="spacer"></td>
						<td>
							每个人工购买的第一层建筑物按照0.05％的比例提升所有第一层建筑物。 <span class="strong">当前第一层加成: <%= tier1Mult %></span>
						</td>
					</tr>
					<tr>
						<td id="tier2Upgrade" class="button" onmousedown="buyTierUpgrade(1)">
							<h3>升级 第二 层</h3>
							<p>成本: $<%= tier2UpgradeCost %>.</p>
							<p>已拥有: <%= tier2UpgradeOwned %></p>
						</td>
						<td class="spacer"></td>
						<td>
							每个人工购买的第二层建筑物按照0.2％的比例提升所有第二层建筑物。 <span class="strong">当前第二层加成: <%= tier2Mult %></span>
						</td>
					</tr>
					<tr>
						<td id="tier3Upgrade" class="button" onmousedown="buyTierUpgrade(2)">
							<h3>升级 第三 层</h3>
							<p>成本: $<%= tier3UpgradeCost %>.</p>
							<p>已拥有: <%= tier3UpgradeOwned %></p>
						</td>
						<td class="spacer"></td>
						<td>
							每个人工购买的第三层建筑物按照0.5％的比例提升所有第三层建筑物。 <span class="strong">当前第三层加成: <%= tier3Mult %></span>
						</td>
					</tr>
					<tr>
						<td id="tier4Upgrade" class="button" onmousedown="buyTierUpgrade(3)">
							<h3>升级 第四 层</h3>
							<p>成本: $<%= tier4UpgradeCost %>.</p>
							<p>已拥有: <%= tier4UpgradeOwned %></p>
						</td>
						<td class="spacer"></td>
						<td>
							每个人工购买的第四层建筑物按照1％的比例提升所有第四层建筑物。 <span class="strong">当前第四层加成: <%= tier4Mult %></span>
						</td>
					</tr>
					<tr id="tier5UpgradeRow">
						<td id="tier5Upgrade" class="button" onmousedown="buyTierUpgrade(4)">
							<h3>升级 第五 层</h3>
							<p>成本: $<%= tier5UpgradeCost %>.</p>
							<p>已拥有: <%= tier5UpgradeOwned %></p>
						</td>
						<td class="spacer"></td>
						<td id="ifUnlocked5">
							每个人工购买的第五层建筑物按照2％的比例提升所有第五层建筑物。 <span class="strong">当前第五层加成: <%= tier5Mult %></span>
						</td>
					</tr>
					<tr id="tier6UpgradeRow">
						<td id="tier6Upgrade" class="button" onmousedown="buyTierUpgrade(5)">
							<h3>升级 6th 层</h3>
							<p>成本: $<%= tier6UpgradeCost %>.</p>
							<p>已拥有: <%= tier6UpgradeOwned %></p>
						</td>
						<td class="spacer"></td>
						<td id="ifUnlocked6">
							每个人工购买的第六层建筑物按照4％的比例提升所有第六层建筑物。 <span class="strong">当前第六层加成: <%= tier6Mult %></span>
						</td>
					</tr>
					<tr id="tier7UpgradeRow">
						<td id="tier7Upgrade" class="button" onmousedown="buyTierUpgrade(6)">
							<h3>升级 7th 层</h3>
							<p>成本: $<%= tier7UpgradeCost %>.</p>
							<p>已拥有: <%= tier7UpgradeOwned %></p>
						</td>
						<td class="spacer"></td>
						<td id="ifUnlocked7">
							每个人工购买的第七层建筑物按照6％的比例提升所有第七层建筑物。 <span class="strong">当前第七层加成: <%= tier7Mult %></span>
						</td>
					</tr>
					<tr>
						<td id="autoclicker" class="button" onmousedown="buyUpgrade(0)">
							<h3>自动点击</h3>
							<p>成本: $<%= autoclickerCost %>.</p>
							<p>已拥有: <%= autoclickerOwned %></p>
						</td>
						<td class="spacer"></td>
						<td>
							每隔 <%= autoclickInterval %> ticks 自动点击一次。
						</td>
					</tr>
					<tr>
						<td id="manualClickBooster" class="button" onmousedown="buyUpgrade(1)">
							<h3>点击提升</h3>
							<p>成本: $<%= manualClickBoosterCost %>.</p>
							<p>已拥有: <%= manualClickBoosterOwned %></p>
						</td>
						<td class="spacer"></td>
						<td>
							手动点击效果增加1。 <span class="strong">当前效果: <%= clickPower %></span>
						</td>
					</tr>
				</table>							
			</script>
			<!-- End Upgrades Tab -->
			<!-- Begin Options Tab -->
			<div id="options">
				<table id="optionTable">
					<tr>
						<td class="buttonLit option" id="wipe" onclick="wipe()">擦除游戏存档</td>
						<td class="spacer"></td>
						<td>警告: 此操作是不能后悔的!</td>
					</tr>
					<tr>
						<td class="buttonLit option" id="toggleChart" onclick="$(&quot;#chartStuff&quot;).toggle(); enableChart = !enableChart">切换图表</td>
						<td class="spacer"></td>
						<td>切换图表以提高游戏速度。</td>
					</tr>
					<tr>
						<td class="buttonLit option" id="save" onclick="save()">保存</td>
						<td class="spacer"></td>
						<td>上次保存时间: <span id="lastSave">无</span></td>
					</tr>
					<tr>
						<td class="buttonLit option" id="exportSave" onclick="exportSave()">导出存档</td>
						<td class="spacer"></td>
						<td id="exportSaveContents" style="display: none">
							复制存档代码:
							<input id="exportSaveText" type="text" readonly>
						</td>
					</tr>
					<tr>
						<td class="buttonLit option" id="importSave" onclick="importSave()">导入存档</td>
						<td class="spacer" colspan="2"></td>
					</tr>
					<tr>
						<td class="buttonLit option" onclick="toggleSciNotation()">切换数字格式</td>
						<td class="spacer"></td>
						<td>切换后缀和科学格式的数字。</td>
					</tr>
					<tr>
						<td class="buttonLit option" id="selectMinTickLength" onclick="setMinTickLength()">设置tick速度</td>
						<td class="spacer"></td>
						<td>设置tick的最小刻度长度。 当前 <span id="minTickLength">100</span> 毫秒。</td>
					</tr>
				</table>
			</div>
			<!-- End Options Tab -->
			<!-- Begin Stats Tab -->
			<div id="stats">
				<div id="statAchievementContainer">
					<div id="statContainer"></div>
					<p class="strong">成就 (<span id="numAchievementsEarned"></span> / <span id="numAchievementsTotal"></span>)</p>
					<div id="achievementContainer"></div>
				</div>
				<div id="chartStuff">
					<div id="chartContainer"></div>
					<div class="buttonLit" id="chartAxisToggle">切换图表坐标轴</div>
					<div id="chartSettings">
						<input id="chartPointDelay" type="number" placeholder="延迟 (ms)" />
						<input id="chartNumPoints" type="number" placeholder="# 点数" />
						<div class="buttonLit" id="submitChartSettings">提交</div>
					</div>
				</div>
			</div>
			<script type="text/template" id="statsTemplate">
				<table id="statTable">
					<tr>
						<td>累计赚取的金钱:</td>
						<td>$<%= totalMoneyEarned %></td>
					</tr>
					<tr>
						<td>累计找到的证明: </td>
						<td><%= totalProofs %></td>
					</tr>
					<tr>
						<td>累计获得的重置货币: </td>
						<td><%= totalResetCurr %> (<%= totalCurrByProof %> 通过证明, <%= totalCurrByMaths %> 通过数学家)</td>
					</tr>
					<tr>
						<td>累计点击次数: </td>
						<td><%= totalClicks %></td>
					</tr>
					<tr>
						<td>累计手动点击次数: </td>
						<td><%= totalManualClicks %></td>
					</tr>
					<tr>
						<td>累计ticks: </td>
						<td><%= totalTicks %></td>
					</tr>
					<tr>
						<td>时间倍率: </td>
						<td><%= timeMult %></td>
					</tr>
				</table>
			</script>
			<!-- End Stats Tab -->
			<div id="prestigeContainer">
				<div class="buttonLit" id="reset" onmousedown="reset(JSON.parse($(&quot;#resetTier&quot;).val()))">重置</div>
				重置以获得各种奖金。 选择层数: 
				<select id="resetTier">
					<option value="1">层数 1</option>
					<option value="2">层数 2</option>
					<option value="3">层数 3</option>
					<option value="4">层数 4</option>
					<option value="5">层数 5</option>
					<option value="6">层数 6</option>
				</select>
				<br />
				<div id="prestige"></div>
				<div id="resetCurrBuyables">
					<table id="resetCurrTable">
						<thead><td>Buyables</td></thead>
						<tr>
							<td>
								<div class="button" onmousedown="buyCurrBuyable(0)">T</div>
								<div class="button" onmousedown="buyCurrBuyable(6)">C</div>
								<div class="button" onmousedown="buyCurrBuyable(12)">B</div>
								<div class="button" onmousedown="buyCurrBuyable(18)">A</div>
							</td>
						</tr>
						<tr>
							<td>
								<div class="button" onmousedown="buyCurrBuyable(1)">T</div>
								<div class="button" onmousedown="buyCurrBuyable(7)">C</div>
								<div class="button" onmousedown="buyCurrBuyable(13)">B</div>
								<div class="button" onmousedown="buyCurrBuyable(19)">A</div>
							</td>
						</tr>
						<tr>
							<td>
								<div class="button" onmousedown="buyCurrBuyable(2)">T</div>
								<div class="button" onmousedown="buyCurrBuyable(8)">C</div>
								<div class="button" onmousedown="buyCurrBuyable(14)">B</div>
								<div class="button" onmousedown="buyCurrBuyable(20)">A</div>
							</td>
						</tr>
						<tr>
							<td>
								<div class="button" onmousedown="buyCurrBuyable(3)">F</div>
								<div class="button" onmousedown="buyCurrBuyable(9)">C</div>
								<div class="button" onmousedown="buyCurrBuyable(15)">B</div>
								<div class="button" onmousedown="buyCurrBuyable(21)">R</div>
							</td>
						</tr>
						<tr>
							<td>
								<div class="button" onmousedown="buyCurrBuyable(4)">F</div>
								<div class="button" onmousedown="buyCurrBuyable(10)">C</div>
								<div class="button" onmousedown="buyCurrBuyable(16)">B</div>
								<div class="button" onmousedown="buyCurrBuyable(22)">R</div>
							</td>
						</tr>
						<tr>
							<td>
								<div class="button" onmousedown="buyCurrBuyable(5)">F</div>
								<div class="button" onmousedown="buyCurrBuyable(11)">C</div>
								<div class="button" onmousedown="buyCurrBuyable(17)">B</div>
								<div class="button" onmousedown="buyCurrBuyable(23)">R</div>
							</td>
						</tr>
					</table>
				</div>
			</div>
			<script type="text/template" id="prestigeTemplate">
				<table id="prestigeTable">
					<thead>
						<td>层数</td>
						<td># 重置次数</td>
						<td>重置货币</td>
						<td>加成</td>
						<td>重置时获得的货币</td>
					</thead>
					<tr>
						<td>1</td>
						<td><%= tier1Resets %></td>
						<td><%= tier1ResetCurr %></td>
						<td><%= tier1GlobalMult %></td>
						<td><%= tier1CurrTracker %></td>
					</tr>
					<tr>
						<td>2</td>
						<td><%= tier2Resets %></td>
						<td><%= tier2ResetCurr %></td>
						<td><%= tier2GlobalMult %></td>
						<td><%= tier2CurrTracker %></td>
					</tr>
					<tr>
						<td>3</td>
						<td><%= tier3Resets %></td>
						<td><%= tier3ResetCurr %></td>
						<td><%= tier3GlobalMult %></td>
						<td><%= tier3CurrTracker %></td>
					</tr>
					<tr>
						<td>4</td>
						<td><%= tier4Resets %></td>
						<td><%= tier4ResetCurr %></td>
						<td><%= tier4GlobalMult %></td>
						<td><%= tier4CurrTracker %></td>
					</tr>
					<tr>
						<td>5</td>
						<td><%= tier5Resets %></td>
						<td><%= tier5ResetCurr %></td>
						<td><%= tier5GlobalMult %></td>
						<td><%= tier5CurrTracker %></td>
					</tr>
					<tr>
						<td>6</td>
						<td><%= tier6Resets %></td>
						<td><%= tier6ResetCurr %></td>
						<td><%= tier6GlobalMult %></td>
						<td><%= tier6CurrTracker %></td>
					</tr>
				</table>
				<br />
				<table id="prestigeDataTable">
					<tr id="proofsToCurr">
						<td>第1层的证明重置货币:</td>
						<td><%= proofsToNextCurr %> / <%= proofsToNextCurrMax %> (+<%= proofsPerTick %> 证明/tick)</td>
					</tr>
					<tr id="proofCurrPerTick">
						<td>每 tick 来自重置货币的证明。</td>
						<td><%= proofCurrPerTick %></td>
					</tr>
					<tr id="mathematiciansToCurr">
						<td>第1层的数学家重置货币:</td>
						<td><%= mathematiciansToNextCurr %> / <%= mathematiciansToNextCurrMax %> (+<%= mathematiciansPerPeriod %> 数学家/<%= buildingPeriod %> ticks)</td>
					</tr>
					<tr id="mathematicianCurrPerTick">
						<td>每 10 tick 来自数学家的重置货币:</td>
						<td><%= mathematicianCurrPerTick %></td>
					</tr>
				</table>
			</script>
		</div>
		<script type="text/template" id="infiniTemplate">
			Infini-currency: <%= infiniCurr %>
		</script>
		<!-- End Tab Content -->
	</div>
	<p id="bottom">版本号 <span id="version"></span></p>
	
<script src="//g8hh.com/static/js/jquery.min.js"></script>
	<script src="https://cdn.bootcss.com/jqueryui/1.10.4/jquery-ui.min.js"></script>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/highcharts/6.2.0/highcharts.js"></script>
	<script src="https://cdn.bootcss.com/tooltipster/3.2.6/js/jquery.tooltipster.min.js"></script>
	
	<script src="js/building.js"></script>
	<script src="https://cdn.bootcss.com/underscore.js/1.6.0/underscore-min.js"></script>
	<script src="js/data.js"></script>
	<script src="js/script.js"></script>
	<script src="js/charts.js"></script>
	
	<script>
	$("#donateLink").click(function() {
	    var pos = $(this).position();
	
	    // .outerWidth() takes into account border and padding.
	    var width = $(this).outerWidth();
	
	    //show the menu directly over the placeholder
	    $("#donate").css({
	        position: "absolute",
	        top: pos.top + "px",
	        left: (pos.left + width) + "px"
	    }).toggle();
	});
	
	$("#closeDonate").click(function(){
		$("#donate").hide();
	})
	</script>
	
<!--客服 开始-->
<link rel="stylesheet" href="//g8hh.com/static/css/kf.css" type="text/css" media="screen" charset="utf-8">
<script src="//g8hh.com/static/js/kf.js"></script>
<!-- 客服 结束 -->
<!--站长统计-->
    <div style="display: none">
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?dbb7ff142f4d4b68546c93b9cd6e9328";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>
    </div>
</html>
          